import React from "react";
export function useUpdates() {
    const [up, setUpdate] = React.useState(0)
    console.log(1);
    return () => {
        setUpdate(c => c + 1);
    }
}